home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / uupc11ys.zip / LIB / LIB.MAK < prev    next >
Text File  |  1993-04-05  |  4KB  |  97 lines

  1. #     $Header: E:\SRC\UUPC\LIB\RCS\LIB.MAK 1.6 1993/04/05 04:31:55 ahd Exp $
  2. #
  3. #     Revision history:
  4. #     $Log: LIB.MAK $
  5. #    Revision 1.6  1993/04/05  04:31:55  ahd
  6. #    Add time stamp, size to data returned by directory searches
  7. #
  8. #    Revision 1.5  1993/03/06  22:47:34  ahd
  9. #    Move active into shared library
  10. #
  11. #       Revision 1.4  1992/11/27  14:37:34  ahd
  12. #       Add scrsize() to build
  13. #
  14. #       Revision 1.3  1992/11/23  02:46:06  ahd
  15. #       Addd strpool and normalize to build list
  16. #
  17. #       Revision 1.2  1992/11/17  13:47:42  ahd
  18. #       Drop type of input file
  19. #
  20.  
  21. !include $(UUPCDEFS)
  22.  
  23. .c.obj:
  24.   $(CC) -c $(CCX) -I$: { $<}
  25.  
  26. .asm.obj:
  27.         $(TASM) $(TASMOPT) $<,$(OBJ)\$&;
  28.  
  29. .path.c   = $(LIB)
  30.  
  31. #       The names of various object files that we create.
  32.  
  33. LIBLST1=+$(OBJ)\active.obj\
  34.         +$(OBJ)\arbmath.obj+$(OBJ)\arpadate.obj+$(OBJ)\bugout.obj\
  35.         +$(OBJ)\catcher.obj+$(OBJ)\chdir.obj+$(OBJ)\checkptr.obj\
  36.         +$(OBJ)\configur.obj+$(OBJ)\dater.obj+$(OBJ)\dos2unix.obj\
  37.         +$(OBJ)\expath.obj
  38. LIBLST2=+$(OBJ)\export.obj+$(OBJ)\filebkup.obj+$(OBJ)\fopen.obj\
  39.         +$(OBJ)\getargs.obj+$(OBJ)\getopt.obj+$(OBJ)\getseq.obj\
  40.         +$(OBJ)\hostable.obj+$(OBJ)\hostatus.obj
  41. LIBLST3=+$(OBJ)\hostrset.obj+$(OBJ)\import.obj+$(OBJ)\importng.obj\
  42.         +$(OBJ)\kanjicnv.obj+$(OBJ)\lock.obj+$(OBJ)\logger.obj\
  43.         +$(OBJ)\mkdir.obj+$(OBJ)\mkfilenm.obj+$(OBJ)\mkmbox.obj
  44. LIBLST4=+$(OBJ)\mktempnm.obj+$(OBJ)\ndir.obj+$(OBJ)\printerr.obj\
  45.         +$(OBJ)\printmsg.obj+$(OBJ)\pushpop.obj+$(OBJ)\readnext.obj\
  46.         +$(OBJ)\rename.obj+$(OBJ)\safeio.obj+$(OBJ)\normaliz.obj
  47. LIBLST5=+$(OBJ)\safeout.obj+$(OBJ)\security.obj+$(OBJ)\ssleep.obj\
  48.         +$(OBJ)\stater.obj+$(OBJ)\usertabl.obj+$(OBJ)\validcmd.obj\
  49.         +$(OBJ)\scrsize.obj+$(OBJ)\strpool.obj\
  50.         +$(TIMESTMP)
  51.  
  52. LIBALL = $(LIBLST1:+= ) $(LIBLST2:+= ) $(LIBLST3:+= ) $(LIBLST4:+= ) $(LIBLST5:+= )
  53.  
  54. # *--------------------------------------------------------------------*
  55. # *     Force a regeneration of the time stamp/version module.         *
  56. # *--------------------------------------------------------------------*
  57.  
  58. regen:  $(LIB)\timestmp.c
  59.         - erase $(TIMESTMP)
  60.  
  61. # *--------------------------------------------------------------------*
  62. # *     The timestamp module has a reference to this MAKEFILE,         *
  63. # *     which insures whenever we change the version number the        *
  64. # *     time stamp gets re-generated.                                  *
  65. # *--------------------------------------------------------------------*
  66.  
  67. $(TIMESTMP): $(LIB)\timestmp.c $(UUPCCFG) $(REGEN) \
  68.                 $(MAKEFILE) \
  69.                 $(LIB)\lib.mak \
  70.                 $(MAIL)\mail.mak \
  71.                 $(UUCP)\uucp.mak \
  72.                 $(UUCICO)\uucico.mak \
  73.                 $(UTIL)\util.mak
  74.  
  75. # *--------------------------------------------------------------------*
  76. # *     Common library build                                           *
  77. # *--------------------------------------------------------------------*
  78.  
  79. $(UUPCLIB): $(LIBALL) $(LIB)\lib.mak
  80.         erase $<
  81.         TLIB /C /E $< @&&|
  82. $(LIBLST1) &
  83. $(LIBLST2) &
  84. $(LIBLST3) &
  85. $(LIBLST4) &
  86. $(LIBLST5)
  87. $&
  88. |
  89.         - erase $(TEMP)\$&.BAK
  90.  
  91. # *--------------------------------------------------------------------*
  92. # *               We don't optimize the sleep routine!                 *
  93. # *--------------------------------------------------------------------*
  94.  
  95. ssleep.obj: ssleep.c
  96.         $(CC) -c $(CCX) -Od -I$: { $<}
  97.